//
//  DEVTokensController.swift
//  APNS
//
//  Created by melvyn on 2018/9/24.
//

import Foundation
import Vapor


class DEVTokensController: RouteCollection {
    
    func boot(router: Router) throws {
    }
    
    func index(_ req: Request) throws -> EventLoopFuture<[DEVToken]> {
        return DEVToken.query(on: req).all()
    }
}
